<template>
  <main>
    <div class="home">
      <RouterLink to="/publish" class="to_page2Main a">
        <h2 class="to_see">
          查看项目
          <Right style="height: 30px; width: 30px;" />
        </h2>
      </RouterLink>
      <div class="a_main padding10_15">
        <div class="a_title">
          <div class="a_head">防伪认证</div>
          <div class="a_headLogo"><img src="/images/小红书logo.png" alt=""></div>
        </div>
        <div class="a_img"><img src="/images/小红书主页.jpg" alt=""></div>
      </div>

      <div class="a_main padding10_15 WeChat">
        <div class="a_title">
          <div class="a_head">防伪认证</div>
          <div class="a_headLogo"></div>
        </div>
        <div class="a_img"><img src="/images/微信主页.jpg" alt=""></div>
      </div>
    </div>
  </main>
</template>
<style scoped>
main {
  display: flex;
  justify-content: center;
  padding-right: 8px;
}

.to_page2Main {
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid rgb(70, 70, 70);
  transition: .2s;
  width: fit-content;
}

.to_page2Main:hover {
  background-color: rgb(70, 70, 70);
}

.to_see {
  display: flex;
  align-items: center;
  transition: .2s;
}

.to_page2Main:hover .to_see {
  color: #ffffff;
}

.home {
  text-align: center;
  max-width: 800px;
  width: 100%;
  padding-top: 10px;
  margin-left: 10px;
  margin-right: 10px;
  text-align: left;
}

.a_main {
  background-color: #ff8787;
  border-radius: 6px;
}

.a_title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
}

.a_head {
  color: #fff;
  font-size: 20px;
}

.a_headLogo {
  height: 40px;
}

.a_img {
  width: 100%;
  overflow: hidden;
}

.WeChat {
  margin-top: 30px;
  background-color: #2aae67;
}

.WeChat .a_headLogo {
  width: 55px;
  background-size: cover;
  background-image: url();
}
</style>
